package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 ept_info
 * 
 * @author CFL
 * @date 2024-04-28
 */
public class EptInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 所属部门id */
    private Long deptId;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String eptSn;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String eptName;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String eptModel;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Integer eptState;

    /** 设备用途 */
    @Excel(name = "设备用途")
    private String eptUse;

    /** 设备安装位置 */
    @Excel(name = "设备安装位置")
    private String eptPlace;

    /** 设备负责人 */
    @Excel(name = "设备负责人")
    private String eptPerson;

    /** 逻辑删除;0：存在；1：删除 */
    private Long isDeleted;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /** 更新者 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEptSn(String eptSn) 
    {
        this.eptSn = eptSn;
    }

    public String getEptSn() 
    {
        return eptSn;
    }
    public void setEptName(String eptName) 
    {
        this.eptName = eptName;
    }

    public String getEptName() 
    {
        return eptName;
    }
    public void setEptModel(String eptModel) 
    {
        this.eptModel = eptModel;
    }

    public String getEptModel() 
    {
        return eptModel;
    }
    public void setEptState(Integer eptState) 
    {
        this.eptState = eptState;
    }

    public Integer getEptState() 
    {
        return eptState;
    }
    public void setEptUse(String eptUse) 
    {
        this.eptUse = eptUse;
    }

    public String getEptUse() 
    {
        return eptUse;
    }
    public void setEptPlace(String eptPlace) 
    {
        this.eptPlace = eptPlace;
    }

    public String getEptPlace() 
    {
        return eptPlace;
    }
    public void setEptPerson(String eptPerson) 
    {
        this.eptPerson = eptPerson;
    }

    public String getEptPerson() 
    {
        return eptPerson;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedDate(Date updatedDate)
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("eptSn", getEptSn())
            .append("eptName", getEptName())
            .append("eptModel", getEptModel())
            .append("eptState", getEptState())
            .append("eptUse", getEptUse())
            .append("eptPlace", getEptPlace())
            .append("eptPerson", getEptPerson())
            .append("remark", getRemark())
            .append("isDeleted", getIsDeleted())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedDate", getUpdatedDate())
            .toString();
    }
}
